PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Background Kind Constants

You can pass a constant of type ThemeBackgroundKind to the function ApplyThemeBackground to specify that an embedded object have a background consistent with the current theme and an object in which it is visually embedded. The ThemeBackgroundKind constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeBackgroundTabPane                 = 1,
    kThemeBackgroundPlacard                 = 2,
    kThemeBackgroundWindowHeader            = 3,
    kThemeBackgroundListViewWindowHeader    = 4
};
typedef UInt32 ThemeBackgroundKind;

Constant descriptions

kThemeBackgroundTabPane
The background for a tab pane.
kThemeBackgroundPlacard
The background for a placard.
kThemeBackgroundWindowHeader
The background for a window header.
kThemeBackgroundListViewWindowHeader
The background for a window list view header.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)